<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="./reset.css">
    <title>
        <%= htmlWebpackPlugin.options.title %>
    </title>
</head>

<body>
    <!-- 创建游戏的主容器 -->
    <div class="main">
        <!-- 设置游戏的舞台 -->
        <div class="stage">
            <!-- 🐍 -->
            <div id="snake">
                <div class="snake-body"></div>
            </div>
            <!-- 游戏结束 -->
            <div id="end">
                游戏结束
                <br><br> 最终得分为：
                <span id='finally-score'>0</span>
                <br><br>
                <span id='reset'>回车重来...</span>
            </div>
            <!-- 设置食物 -->
            <div id="food">
                <!-- 添加食物的结构 -->
                <div class="food-body"></div>
                <div class="food-body"></div>
                <div class="food-body"></div>
                <div class="food-body"></div>
            </div>
        </div>
        <div class="score-panel">
            <div class="scoreBox">SCORE:<span id="score">0</span></div>
            <div class="levelBox">LEVEL:<span id="level">1</span></div>
        </div>
    </div>
</body>

</html>